package com.he.pojo;

import java.util.Date;

public class Mail extends Page{
    private Integer id;

    private Integer sendId;

    private String sendName;

    private Integer receiveId;

    private String receiveName;

    private String mailTitle;

    private String mailInfo;

    private String mailFile;

    private Date mailDate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSendId() {
        return sendId;
    }

    public void setSendId(Integer sendId) {
        this.sendId = sendId;
    }

    public String getSendName() {
        return sendName;
    }

    public void setSendName(String sendName) {
        this.sendName = sendName == null ? null : sendName.trim();
    }

    public Integer getReceiveId() {
        return receiveId;
    }

    public void setReceiveId(Integer receiveId) {
        this.receiveId = receiveId;
    }

    public String getReceiveName() {
        return receiveName;
    }

    public void setReceiveName(String receiveName) {
        this.receiveName = receiveName == null ? null : receiveName.trim();
    }

    public String getMailTitle() {
        return mailTitle;
    }

    public void setMailTitle(String mailTitle) {
        this.mailTitle = mailTitle == null ? null : mailTitle.trim();
    }

    public String getMailInfo() {
        return mailInfo;
    }

    public void setMailInfo(String mailInfo) {
        this.mailInfo = mailInfo == null ? null : mailInfo.trim();
    }

    public String getMailFile() {
        return mailFile;
    }

    public void setMailFile(String mailFile) {
        this.mailFile = mailFile == null ? null : mailFile.trim();
    }

    public Date getMailDate() {
        return mailDate;
    }

    public void setMailDate(Date mailDate) {
        this.mailDate = mailDate;
    }

	@Override
	public String toString() {
		return "Mail [id=" + id + ", sendId=" + sendId + ", sendName=" + sendName + ", receiveId=" + receiveId
				+ ", receiveName=" + receiveName + ", mailTitle=" + mailTitle + ", mailInfo=" + mailInfo + ", mailFile="
				+ mailFile + ", mailDate=" + mailDate + "]";
	}
    
}